public class Student {
	String name;
	double totalTestScore;
	int numberOfTests;

	public Student(String name) {
		this.name = name;
		this.totalTestScore = 0;
		this.numberOfTests = 0;
	}

	public String getName() {
		return name;
	}
	
	public int getTotalScore()
	{
		return (int)totalTestScore;
	}
	
	public double getAverageScore()
	{
		return totalTestScore/numberOfTests;
	}
	public void addQuiz(double score)
	{
		++numberOfTests;
		totalTestScore+=score;
	}
}
